package org.bigdata.framework.core.model;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

/**
 * <p>
 * 
 * </p>
 *
 * @author dal.anhuifeng
 * @since 2017-07-14
 */
@TableName("project_product")
public class ProjectProduct implements Serializable {

    private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId(type = IdType.AUTO)
	private Integer id;

	/**
	 * 产品库id
	 */
	@TableField(value="repository_product_id")
	private Integer repositoryProductId;

	/**
	 * 项目id
	 */
	@TableField(value="project_id")
	private Integer projectId;

	/**
	 * 会员id
	 */
	@TableField(value="member_id")
	private Integer memberId;

	/**
	 * 订购资源项目详情id（只对机构用户有效balance_account/count_account/time_account表的id）
	 */
	@TableField(value="product_detail_id")
	private Integer productDetailId;



	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getRepositoryProductId() {
		return repositoryProductId;
	}

	public void setRepositoryProductId(Integer repositoryProductId) {
		this.repositoryProductId = repositoryProductId;
	}

	public Integer getProjectId() {
		return projectId;
	}

	public void setProjectId(Integer projectId) {
		this.projectId = projectId;
	}

	public Integer getMemberId() {
		return memberId;
	}

	public void setMemberId(Integer memberId) {
		this.memberId = memberId;
	}

	public Integer getProductDetailId() {
		return productDetailId;
	}

	public void setProductDetailId(Integer productDetailId) {
		this.productDetailId = productDetailId;
	}

}
